//
//  SeekoBoardNavigationController.m
//  MokoAPP
//
//  Created by 현식 강 on 11. 7. 31..
//  Copyright 2011 아이온. All rights reserved.
//

#import "SeekoBoardNavigationController.h"
#import "MokoAppDelegate.h"
@implementation SeekoBoardNavigationController

-(id) initWithRootViewController:(UIViewController *)rootViewController {
    self = [super initWithRootViewController:rootViewController];
    if( self ) {
        
    }
    return self;
}

- (void)dealloc
{
    [super dealloc];
}
-(void) backStep {
    [self popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

/*
 // Implement loadView to create a view hierarchy programmatically, without using a nib.
 - (void)loadView
 {
 }
 */

// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
{
    [super viewDidLoad];
    UISwipeGestureRecognizer* swipe = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(backStep)];
    swipe.direction = UISwipeGestureRecognizerDirectionRight;
    swipe.numberOfTouchesRequired = 1;
    [self.view addGestureRecognizer:swipe];
    [swipe release];
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

@end
